package com.shopping.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shopping.common.utils.PageUtils;
import com.shopping.ware.entity.PurchaseDetailEntity;
import com.shopping.ware.entity.WareSkuEntity;
import com.shopping.common.vo.SkuHasStockVo;

import java.util.List;
import java.util.Map;

/**
 * 商品库存
 *
 * @author Europa
 * @date 2020-04-12 01:37:36
 */
public interface WareSkuService extends IService<WareSkuEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void addStock(PurchaseDetailEntity entity);

    List<SkuHasStockVo> getSkuStock(List<Long> skuIds);
}

